package com.dps.omc.task.message;

/**
 * Created by lip on 2016-01-15.
 */
public class TaskMessage {
    private String taskId;
    private String cmdShell;
    private String agentId; //代理ID
    private String clientIp; //代理IP
    private String sysUser;
    private String sysPass;
    private EnumMsgType msgType;
    private String returnMsg; //返回消息
    private EnumTaskState taskState; //任务状态
    private String serverIp;
    private String serverUser;
    private String serverPass;
    private boolean serverConn =false;
    private EnumTaskNodeType taskNodeType;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getCmdShell() {
        return cmdShell;
    }

    public void setCmdShell(String cmdShell) {
        this.cmdShell = cmdShell;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public String getSysUser() {
        return sysUser;
    }

    public void setSysUser(String sysUser) {
        this.sysUser = sysUser;
    }

    public String getSysPass() {
        return sysPass;
    }

    public void setSysPass(String sysPass) {
        this.sysPass = sysPass;
    }

    public EnumMsgType getMsgType() {
        return msgType;
    }

    public void setMsgType(EnumMsgType msgType) {
        this.msgType = msgType;
    }

    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public EnumTaskState getTaskState() {
        return taskState;
    }

    public void setTaskState(EnumTaskState taskState) {
        this.taskState = taskState;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public String getServerUser() {
        return serverUser;
    }

    public void setServerUser(String serverUser) {
        this.serverUser = serverUser;
    }

    public String getServerPass() {
        return serverPass;
    }

    public void setServerPass(String serverPass) {
        this.serverPass = serverPass;
    }

    public boolean isServerConn() {
        return serverConn;
    }

    public void setServerConn(boolean serverConn) {
        this.serverConn = serverConn;
    }

    public EnumTaskNodeType getTaskNodeType() {
        return taskNodeType;
    }

    public void setTaskNodeType(EnumTaskNodeType taskNodeType) {
        this.taskNodeType = taskNodeType;
    }
}
